package Model;

public class Person {
	private int id;
	private String name;
	private String surname;
	private String address;
	private int telephone;
	private String email;
	private String password;
	
	public Person(int id, String name, String surname, String address, int telephone, String email, String password){
		this.setId(id);
		this.setName(name);
		this.setSurname(surname);
		this.setAddress(address);
		this.setTelephone(telephone);
		this.setEmail(email);
		this.setPassword(password);
	}
	
	public Person(int id, String name, String surname, String address, int telephone, String email){
		this.setId(id);
		this.setName(name);
		this.setSurname(surname);
		this.setAddress(address);
		this.setTelephone(telephone);
		this.setEmail(email);
	}
	
	public int getId(){
	    return id;
	}

	public void setId(int id){
	    this.id = id;
	}

	public String getName(){
	    return name;
	}

	public void setName(String name){
	    this.name = name;
	}

	public String getSurname(){
	    return surname;
	}

	public void setSurname(String surname){
	    this.surname = surname;
	}

	public String getAddress(){
	    return address;
	}

	public void setAddress(String address){
	    this.address = address;
	}

	public int getTelephone(){
	    return telephone;
	}

	public void setTelephone(int telephone){
	    this.telephone = telephone;
	}

	public String getEmail(){
	    return email;
	}

	public void setEmail(String email){
	    this.email = email;
	}

	public String getPassword(){
	    return password;
	}

	public void setPassword(String password){
	    this.password = password;
	}

}
